#!/usr/bin/python3
str = input("input a string:")
print("original string:",str,"\n")
str = str[1:-1]
print("modified string:",str)

